/*
 * 
 * LegendShop 多用户商城系统
 * 
 *  版权所有,并保留所有权利。
 * 
 */
package com.bblocks.communityInfo.client;



import io.swagger.v3.oas.annotations.media.Schema;

import java.util.List;
import java.util.Map;

/**
 * 查询参数
 * 
 * @author Tony
 * 
 */
@Schema(description="查询参数")
public class ProductSearchParms {

	/** 属性urlQueryString*/
	@Schema(description="属性")
	private String prop;

	/** 开始价格*/
	@Schema(description="开始价格")
	private Double startPrice;

	/** 结束价格*/
	@Schema(description="结束价格")
	private Double endPrice;

	/** 排序*/
	@Schema(description="排序:默认为录入时间recDate（默认的综合），浏览量views,销量为buys,价格为cash,格式如buys,desc/asc")
	private String orders;
	
	/** 显示的活动类型*/
	@Schema(description="显示的活动类型")
	private String loadType;

	/** 分类ID*/
	@Schema(description="分类ID（支持1-3及分类ID）")
	private Long categoryId;

	/** 店铺ID*/
	@Schema(description="店铺ID/微店")
	private Integer shopId;

	/** 店铺分类ID*/
	@Schema(description="店铺分类ID")
	private Integer shopCategoryId;

	@Schema(description="店铺IDs")
	private List<Integer> shopIds;

	/** 商品分组ID*/
	@Schema(description="商品分组ID")
	private Long groupId;



	//private Integer page;
	
	/** 搜索关键词*/
	@Schema(description="搜索关键词")
	private String keyword;

	private Boolean isHasProd;
	
	private Boolean isSupportDist;

	/** 标签 */
	@Schema(description="标签")
	private String tag;

	/** 省id */
	@Schema(description="省id")
	private String provinceid;

	/** 市id */
	@Schema(description="市id(如:110000=北京)，限购城市")
	private String cityid;

	@Schema(description="市id(如:110000=北京)，限购城市(仅限)")
	private String cityidOnly;

	/** 区id */
	@Schema(description="区id")
	private String areaid;
	
	/** 每页显示条数 */
	@Schema(description="每页显示条数")
	private Integer pageSize;
	
	/** 品牌id */
	@Schema(description="品牌id")
	private Integer brandId;
	
	/** 品牌名称 */
	@Schema(description="品牌名称")
	private String brandName;

	@Schema(description="是否需要banner：1=是，0=否")
	private Integer neednBanner;

	@Schema(description="是否需要prodPics：1=是，0=否")
	private Integer neednProdPics;

	@Schema(description="是否需要ProdTag：1=是，0=否")
	private Integer needProdTags;

	/** 请求参数Map集合 */
	@Schema(description="请求参数Map集合")
	private Map<String, String[]> requestParams;

	@Schema(description="商品id")
	private List<Long> prodIds;

	@Schema(description="产品类型"/*,notes = "见ProductTypeEnum,P=普通商品 G=团购商品,S=二手商品,D=打折商品,I=积分商品,S=秒杀"*/)
	private String prodType;

	@Schema(description="带客状态:0=申请中，1=通过，2=拒绝，-1=初始")
	private Integer roleInviteState;
	
	public Double getStartPrice() {
		return startPrice;
	}

	public void setStartPrice(Double startPrice) {
		this.startPrice = startPrice;
	}

	public Double getEndPrice() {
		return endPrice;
	}

	public void setEndPrice(Double endPrice) {
		this.endPrice = endPrice;
	}

	public String getOrders() {
		return orders;
	}

	public void setOrders(String orders) {
		this.orders = orders;
	}
	
	
	public String getLoadType() {
		return loadType;
	}

	public void setLoadType(String loadType) {
		this.loadType = loadType;
	}



	

	//public Integer getPage() {
	//	return page;
	//}

	//public void setPage(Integer page) {
	//	this.page = page;
	//}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public void setHasProd(Boolean isHasProd) {
		this.isHasProd = isHasProd;
	}
	
	

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public Long getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}

	public Integer getShopCategoryId() {
		return shopCategoryId;
	}

	public void setShopCategoryId(Integer shopCategoryId) {
		this.shopCategoryId = shopCategoryId;
	}

	public Integer getShopId() {
		return shopId;
	}

	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}

	public Boolean isHasProd() {
		return isHasProd;
	}

	public String getProvinceid() {
		return provinceid;
	}

	public void setProvinceid(String provinceid) {
		this.provinceid = provinceid;
	}

	public String getCityid() {
		return cityid;
	}

	public void setCityid(String cityid) {
		this.cityid = cityid;
	}

	public String getAreaid() {
		return areaid;
	}

	public void setAreaid(String areaid) {
		this.areaid = areaid;
	}

	public String getProp() {
		return prop;
	}

	public void setProp(String prop) {
		this.prop = prop;
	}

	public Boolean getIsHasProd() {
		return isHasProd;
	}

	public void setIsHasProd(Boolean isHasProd) {
		this.isHasProd = isHasProd;
	}

	public Boolean getIsSupportDist() {
		return isSupportDist;
	}

	public void setIsSupportDist(Boolean isSupportDist) {
		this.isSupportDist = isSupportDist;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Map<String, String[]> getRequestParams() {
		return requestParams;
	}

	public void setRequestParams(Map<String, String[]> requestParams) {
		this.requestParams = requestParams;
	}

	public Integer getBrandId() {
		return brandId;
	}

	public void setBrandId(Integer brandId) {
		this.brandId = brandId;
	}

	public String getBrandName() {
		return brandName;
	}

	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public List<Long> getProdIds() {
		return prodIds;
	}

	public void setProdIds(List<Long> prodIds) {
		this.prodIds = prodIds;
	}

	public Integer getNeednBanner() {
		return neednBanner;
	}

	public void setNeednBanner(Integer neednBanner) {
		this.neednBanner = neednBanner;
	}

	public Long getGroupId() {
		return groupId;
	}

	public void setGroupId(Long groupId) {
		this.groupId = groupId;
	}

	public String getProdType() {
		return prodType;
	}

	public void setProdType(String prodType) {
		this.prodType = prodType;
	}

	public Integer getNeednProdPics() {
		return neednProdPics;
	}

	public void setNeednProdPics(Integer neednProdPics) {
		this.neednProdPics = neednProdPics;
	}

	public Integer getNeedProdTags() {
		return needProdTags;
	}

	public void setNeedProdTags(Integer needProdTags) {
		this.needProdTags = needProdTags;
	}

	public String getCityidOnly() {
		return cityidOnly;
	}

	public void setCityidOnly(String cityidOnly) {
		this.cityidOnly = cityidOnly;
	}

	public Integer getRoleInviteState() {
		return roleInviteState;
	}

	public void setRoleInviteState(Integer roleInviteState) {
		this.roleInviteState = roleInviteState;
	}

	public List<Integer> getShopIds() {
		return shopIds;
	}

	public void setShopIds(List<Integer> shopIds) {
		this.shopIds = shopIds;
	}
}
